import request from '@/utils/request'
export function getOrderList(data, pageNum, pageSize) {
  return request({
    url: '/api/admin/shop/getShopOrdersList',
    method: 'POST',
    data,
    headers: { pageNum: pageNum, pageSize: pageSize }
  })
}
export function getOrderInfo(data) {
  return request({
    url: '/api/admin/shop/getShopOrdersInfo',
    method: 'POST',
    data
  })
}
export function getClassOrders(data, pageNum, pageSize) {
  return request({
    url: '/api/admin/orders_class_or_activity/getClassOrActivityOrders',
    method: 'POST',
    data,
    headers: { pageNum: pageNum, pageSize: pageSize }
  })
}
export function getClassOrdersInfo(data) {
  return request({
    url: '/api/admin/orders_class_or_activity/getClassOrActivityOrderInfo',
    method: 'POST',
    data
  })
}
